package com.atguigu.gulimall.auth.fegin;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName ThirdPartyFeginService
 * @Description TODO
 * @Author 13290
 * @Date 2022/12/12 12:55
 **/
@FeignClient("gulimall-third-party")
public interface ThirdPartyFeginService {

    @GetMapping("/sms/sendCode")
    public R sendCode(@RequestParam("mobile") String mobile, @RequestParam("code") String code);
}
